export class baseResponse<Data> {
  status: boolean
  errorType: number
  message: string
  data: Data
  constructor(status: boolean, errorType: number, message: string, data: Data) {
    this.status = status
    this.errorType = errorType
    this.message = message
    this.data = data
  }
}

export interface JwtPayload {
  'http://schemas.microsoft.com/ws/2008/06/identity/claims/role': string // ClaimTypes.Role
  'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name': string // ClaimTypes.Name
}

export class Class {
  className: string
  constructor(className: string) {
    this.className = className
  }
}

export class layer {
  TeacherName?: string
  OBJECTID?: number
  constructor(TeacherName?: string, OBJECTID?: number) {
    this.TeacherName = TeacherName
    this.OBJECTID = OBJECTID
  }
}
